<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use App\BaseModel as Eloquent;

/**
 * Class DemoUser
 * 
 * @property int $id
 * @property int $hall_id
 * @property string $username
 * @property string $salt
 * @property string $password
 * @property string $register_ip
 * @property int $status
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class DemoUser extends Eloquent
{
	protected $table = 'demo_user';

	protected $casts = [
		'hall_id' => 'int',
		'status' => 'int'
	];

	protected $hidden = [
		'salt',
		'password'
	];

	protected $fillable = [
		'hall_id',
		'username',
		'salt',
		'password',
		'register_ip',
		'status'
	];
}
